package com.way.demo.bo;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author lipingwei
 * @create 2021-01-21 21:21
 */
@Data
@Accessors(chain = true)
public class ReqTestBo implements Serializable {
    private static final long serialVersionUID = -7570460061640193022L;
    @NotBlank(message = "name 不能为空")
    private String name;
    private String addr;

    private String tel;

    @Valid
    private Student su;



}
